package com.csii.modules.online.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.csii.autopoi.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("onl_auth_data")
@ApiModel(
		value = "onl_auth_data对象",
		description = "onl_auth_data"
)
@Data
public class OnlAuthData implements Serializable {
	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private String id;

	@ApiModelProperty(value = "online表ID")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private String cgformId;

	@ApiModelProperty(value = "规则名")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private String ruleName;

	@ApiModelProperty(value = "规则列")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private String ruleColumn;

	@ApiModelProperty(value = "规则条件 大于小于like")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private String ruleOperator;

	@ApiModelProperty(value = "规则值")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private String ruleValue;

	@ApiModelProperty(value = "1有效 0无效")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private Integer status;

	@ApiModelProperty(value = "创建时间")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private Date createTime;

	@ApiModelProperty(value = "创建人")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private String createBy;

	@ApiModelProperty(value = "更新人")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private String updateBy;

	@ApiModelProperty(value = "更新日期")
	@Excel(name = "字段名/按钮编码", width = 15.0D)
	private Date updateTime;


	public String toString() {
		return "OnlAuthData(id=" + this.getId() + ", cgformId=" + this.getCgformId() + ", ruleName=" + this.getRuleName() + ", ruleColumn=" + this.getRuleColumn() + ", ruleOperator=" + this.getRuleOperator() + ", ruleValue=" + this.getRuleValue() + ", status=" + this.getStatus() + ", createTime=" + this.getCreateTime() + ", createBy=" + this.getCreateBy() + ", updateBy=" + this.getUpdateBy() + ", updateTime=" + this.getUpdateTime() + ")";
	}

}
